#include "stdafx.h"

#include "qlog.h"


#if defined WMLOG



namespace mc{
 
struct WMArray 
{
 UINT Code;
 LPTSTR Message;
}	waWMArray[] = 
{
{0x0000, L"WM_NULL"},
{0x0001, L"WM_CREATE"},
{0x0002, L"WM_DESTROY"},
{0x0003, L"WM_MOVE"},
{0x0005, L"WM_SIZE"},
{0x0006, L"WM_ACTIVATE"},
{0x0007, L"WM_SETFOCUS"},
{0x0008, L"WM_KILLFOCUS"},
{0x000A, L"WM_ENABLE"},
{0x000B, L"WM_SETREDRAW"},
{0x000C, L"WM_SETTEXT"},
{0x000D, L"WM_GETTEXT"},
{0x000E, L"WM_GETTEXTLENGTH"},
{0x000F, L"WM_PAINT"},
{0x0010, L"WM_CLOSE"},
{0x0011, L"WM_QUERYENDSESSION"},
{0x0012, L"WM_QUIT"},
{0x0013, L"WM_QUERYOPEN"},
{0x0014, L"WM_ERASEBKGND"},
{0x0015, L"WM_SYSCOLORCHANGE"},
{0x0016, L"WM_ENDSESSION"},
{0x0018, L"WM_SHOWWINDOW"},
{0x001A, L"WM_WININICHANGE"},
{WM_WININICHANGE, L"WM_SETTINGCHANGE"},
{0x001B, L"WM_DEVMODECHANGE"},
{0x001C, L"WM_ACTIVATEAPP"},
{0x001D, L"WM_FONTCHANGE"},
{0x001E, L"WM_TIMECHANGE"},
{0x001F, L"WM_CANCELMODE"},
{0x0020, L"WM_SETCURSOR"},
{0x0021, L"WM_MOUSEACTIVATE"},
{0x0022, L"WM_CHILDACTIVATE"},
{0x0023, L"WM_QUEUESYNC"},
{0x0024, L"WM_GETMINMAXINFO"},
{0x0026, L"WM_PAINTICON"},
{0x0027, L"WM_ICONERASEBKGND"},
{0x0028, L"WM_NEXTDLGCTL"},
{0x002A, L"WM_SPOOLERSTATUS"},
{0x002B, L"WM_DRAWITEM"},
{0x002C, L"WM_MEASUREITEM"},
{0x002D, L"WM_DELETEITEM"},
{0x002E, L"WM_VKEYTOITEM"},
{0x002F, L"WM_CHARTOITEM"},
{0x0030, L"WM_SETFONT"},
{0x0031, L"WM_GETFONT"},
{0x0032, L"WM_SETHOTKEY"},
{0x0033, L"WM_GETHOTKEY"},
{0x0037, L"WM_QUERYDRAGICON"},
{0x0039, L"WM_COMPAREITEM"},
{0x003D, L"WM_GETOBJECT"},
{0x0041, L"WM_COMPACTING"},
{0x0044, L"WM_COMMNOTIFY"},
{0x0046, L"WM_WINDOWPOSCHANGING"},
{0x0047, L"WM_WINDOWPOSCHANGED"},
{0x0048, L"WM_POWER"},
{0x004A, L"WM_COPYDATA"},
{0x004B, L"WM_CANCELJOURNAL"},
{0x004E, L"WM_NOTIFY"},
{0x0050, L"WM_INPUTLANGCHANGEREQUEST"},
{0x0051, L"WM_INPUTLANGCHANGE"},
{0x0052, L"WM_TCARD"},
{0x0053, L"WM_HELP"},
{0x0054, L"WM_USERCHANGED"},
{0x0055, L"WM_NOTIFYFORMAT"},
{0x007B, L"WM_CONTEXTMENU"},
{0x007C, L"WM_STYLECHANGING"},
{0x007D, L"WM_STYLECHANGED"},
{0x007E, L"WM_DISPLAYCHANGE"},
{0x007F, L"WM_GETICON"},
{0x0080, L"WM_SETICON"},
{0x0081, L"WM_NCCREATE"},
{0x0082, L"WM_NCDESTROY"},
{0x0083, L"WM_NCCALCSIZE"},
{0x0084, L"WM_NCHITTEST"},
{0x0085, L"WM_NCPAINT"},
{0x0086, L"WM_NCACTIVATE"},
{0x0087, L"WM_GETDLGCODE"},
{0x0088, L"WM_SYNCPAINT"},
{0x00A0, L"WM_NCMOUSEMOVE"},
{0x00A1, L"WM_NCLBUTTONDOWN"},
{0x00A2, L"WM_NCLBUTTONUP"},
{0x00A3, L"WM_NCLBUTTONDBLCLK"},
{0x00A4, L"WM_NCRBUTTONDOWN"},
{0x00A5, L"WM_NCRBUTTONUP"},
{0x00A6, L"WM_NCRBUTTONDBLCLK"},
{0x00A7, L"WM_NCMBUTTONDOWN"},
{0x00A8, L"WM_NCMBUTTONUP"},
{0x00A9, L"WM_NCMBUTTONDBLCLK"},
{0x0100, L"WM_KEYFIRST"},
{0x0100, L"WM_KEYDOWN"},
{0x0101, L"WM_KEYUP"},
{0x0102, L"WM_CHAR"},
{0x0103, L"WM_DEADCHAR"},
{0x0104, L"WM_SYSKEYDOWN"},
{0x0105, L"WM_SYSKEYUP"},
{0x0106, L"WM_SYSCHAR"},
{0x0107, L"WM_SYSDEADCHAR"},
{0x0108, L"WM_KEYLAST"},
{0x010D, L"WM_IME_STARTCOMPOSITION"},
{0x010E, L"WM_IME_ENDCOMPOSITION"},
{0x010F, L"WM_IME_COMPOSITION"},
{0x010F, L"WM_IME_KEYLAST"},
{0x0110, L"WM_INITDIALOG"},
{0x0111, L"WM_COMMAND"},
{0x0112, L"WM_SYSCOMMAND"},
{0x0113, L"WM_TIMER"},
{0x0114, L"WM_HSCROLL"},
{0x0115, L"WM_VSCROLL"},
{0x0116, L"WM_INITMENU"},
{0x0117, L"WM_INITMENUPOPUP"},
{0x011F, L"WM_MENUSELECT"},
{0x0120, L"WM_MENUCHAR"},
{0x0121, L"WM_ENTERIDLE"},
{0x0122, L"WM_MENURBUTTONUP"},
{0x0123, L"WM_MENUDRAG"},
{0x0124, L"WM_MENUGETOBJECT"},
{0x0125, L"WM_UNINITMENUPOPUP"},
{0x0126, L"WM_MENUCOMMAND"},
{0x0132, L"WM_CTLCOLORMSGBOX"},
{0x0133, L"WM_CTLCOLOREDIT"},
{0x0134, L"WM_CTLCOLORLISTBOX"},
{0x0135, L"WM_CTLCOLORBTN"},
{0x0136, L"WM_CTLCOLORDLG"},
{0x0137, L"WM_CTLCOLORSCROLLBAR"},
{0x0138, L"WM_CTLCOLORSTATIC"},
{0x0200, L"WM_MOUSEFIRST"},
{0x0200, L"WM_MOUSEMOVE"},
{0x0201, L"WM_LBUTTONDOWN"},
{0x0202, L"WM_LBUTTONUP"},
{0x0203, L"WM_LBUTTONDBLCLK"},
{0x0204, L"WM_RBUTTONDOWN"},
{0x0205, L"WM_RBUTTONUP"},
{0x0206, L"WM_RBUTTONDBLCLK"},
{0x0207, L"WM_MBUTTONDOWN"},
{0x0208, L"WM_MBUTTONUP"},
{0x0209, L"WM_MBUTTONDBLCLK"},
{0x020A, L"WM_MOUSEWHEEL"},
{0x020A, L"WM_MOUSELAST"},
{0x0209, L"WM_MOUSELAST"},
{0x0210, L"WM_PARENTNOTIFY"},
{0x0211, L"WM_ENTERMENULOOP"},
{0x0212, L"WM_EXITMENULOOP"},
{0x0213, L"WM_NEXTMENU"},
{0x0214, L"WM_SIZING"},
{0x0215, L"WM_CAPTURECHANGED"},
{0x0216, L"WM_MOVING"},
{0x0218, L"WM_POWERBROADCAST"},
{0x0219, L"WM_DEVICECHANGE"},
{0x0220, L"WM_MDICREATE"},
{0x0221, L"WM_MDIDESTROY"},
{0x0222, L"WM_MDIACTIVATE"},
{0x0223, L"WM_MDIRESTORE"},
{0x0224, L"WM_MDINEXT"},
{0x0225, L"WM_MDIMAXIMIZE"},
{0x0226, L"WM_MDITILE"},
{0x0227, L"WM_MDICASCADE"},
{0x0228, L"WM_MDIICONARRANGE"},
{0x0229, L"WM_MDIGETACTIVE"},
{0x0230, L"WM_MDISETMENU"},
{0x0231, L"WM_ENTERSIZEMOVE"},
{0x0232, L"WM_EXITSIZEMOVE"},
{0x0233, L"WM_DROPFILES"},
{0x0234, L"WM_MDIREFRESHMENU"},
{0x0281, L"WM_IME_SETCONTEXT"},
{0x0282, L"WM_IME_NOTIFY"},
{0x0283, L"WM_IME_CONTROL"},
{0x0284, L"WM_IME_COMPOSITIONFULL"},
{0x0285, L"WM_IME_SELECT"},
{0x0286, L"WM_IME_CHAR"},
{0x0288, L"WM_IME_REQUEST"},
{0x0290, L"WM_IME_KEYDOWN"},
{0x0291, L"WM_IME_KEYUP"},
{0x02A1, L"WM_MOUSEHOVER"},
{0x02A3, L"WM_MOUSELEAVE"},
{0x0300, L"WM_CUT"},
{0x0301, L"WM_COPY"},
{0x0302, L"WM_PASTE"},
{0x0303, L"WM_CLEAR"},
{0x0304, L"WM_UNDO"},
{0x0305, L"WM_RENDERFORMAT"},
{0x0306, L"WM_RENDERALLFORMATS"},
{0x0307, L"WM_DESTROYCLIPBOARD"},
{0x0308, L"WM_DRAWCLIPBOARD"},
{0x0309, L"WM_PAINTCLIPBOARD"},
{0x030A, L"WM_VSCROLLCLIPBOARD"},
{0x030B, L"WM_SIZECLIPBOARD"},
{0x030C, L"WM_ASKCBFORMATNAME"},
{0x030D, L"WM_CHANGECBCHAIN"},
{0x030E, L"WM_HSCROLLCLIPBOARD"},
{0x030F, L"WM_QUERYNEWPALETTE"},
{0x0310, L"WM_PALETTEISCHANGING"},
{0x0311, L"WM_PALETTECHANGED"},
{0x0312, L"WM_HOTKEY"},
{0x0317, L"WM_PRINT"},
{0x0318, L"WM_PRINTCLIENT"},
{0x0358, L"WM_HANDHELDFIRST"},
{0x035F, L"WM_HANDHELDLAST"},
{0x0360, L"WM_AFXFIRST"},
{0x037F, L"WM_AFXLAST"},
{0x0380, L"WM_PENWINFIRST"},
{0x038F, L"WM_PENWINLAST"},
{0x8000, L"WM_APP"},
{0x0400, L"WM_USER"}
};

// 203 number of elemts...
void  Printlog0(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) 
{
	for(int i=0; i < sizeof(waWMArray)/sizeof(waWMArray[0]); i++)
	if(waWMArray[i].Code == msg)
	{
		   waWMArray[i].Message ;
		   return;
	}
  
}


#define MAX_WMMSG	(sizeof(wmtab)/sizeof(wmtab[0]))

LPCTSTR wmtab[] = {
	L"WM_NULL",
	L"WM_CREATE",
	L"WM_DESTROY",
	L"WM_MOVE",
	L"UNKNOWN (4)",
	L"WM_SIZE",
	L"WM_ACTIVATE",
	L"WM_SETFOCUS",
	L"WM_KILLFOCUS",
	L"UNKNOWN (9)",
	L"WM_ENABLE",
	L"WM_SETREDRAW",
	L"WM_SETTEXT",
	L"WM_GETTEXT",
	L"WM_GETTEXTLENGTH",
	L"WM_PAINT",
	L"WM_CLOSE",
	L"WM_QUERYENDSESSION",
	L"WM_QUIT",
	L"WM_QUERYOPEN",
	L"WM_ERASEBKGND",
	L"WM_SYSCOLORCHANGE",
	L"WM_ENDSESSION",
	L"UNKNOWN (23)",
	L"WM_SHOWWINDOW",
	L"UNKNOWN (25)",
	L"WM_SETTINGCHANGE",
	L"WM_DEVMODECHANGE",
	L"WM_ACTIVATEAPP",
	L"WM_FONTCHANGE",
	L"WM_TIMECHANGE",
	L"WM_CANCELMODE",
	L"WM_SETCURSOR",
	L"WM_MOUSEACTIVATE",
	L"WM_CHILDACTIVATE",
	L"WM_QUEUESYNC",
	L"WM_GETMINMAXINFO",
	L"UNKNOWN (37)",
	L"WM_PAINTICON",
	L"WM_ICONERASEBKGND",
	L"WM_NEXTDLGCTL",
	L"UNKNOWN (41)",
	L"WM_SPOOLERSTATUS",
	L"WM_DRAWITEM",
	L"WM_MEASUREITEM",
	L"WM_DELETEITEM",
	L"WM_VKEYTOITEM",
	L"WM_CHARTOITEM",
	L"WM_SETFONT",
	L"WM_GETFONT",
	L"WM_SETHOTKEY",
	L"WM_GETHOTKEY",
	L"UNKNOWN (52)",
	L"UNKNOWN (53)",
	L"UNKNOWN (54)",
	L"WM_QUERYDRAGICON",
	L"UNKNOWN (56)",
	L"WM_COMPAREITEM",
	L"UNKNOWN (58)",
	L"UNKNOWN (59)",
	L"UNKNOWN (60)",
	L"WM_GETOBJECT",
	L"UNKNOWN (62)",
	L"UNKNOWN (63)",
	L"UNKNOWN (64)",
	L"WM_COMPACTING",
	L"UNKNOWN (66)",
	L"UNKNOWN (67)",
	L"WM_COMMNOTIFY",
	L"UNKNOWN (69)",
	L"WM_WINDOWPOSCHANGING",
	L"WM_WINDOWPOSCHANGED",
	L"WM_POWER",
	L"UNKNOWN (73)",
	L"WM_COPYDATA",
	L"WM_CANCELJOURNAL",
	L"UNKNOWN (76)",
	L"UNKNOWN (77)",
	L"WM_NOTIFY",
	L"UNKNOWN (79)",
	L"WM_INPUTLANGCHANGEREQUEST",
	L"WM_INPUTLANGCHANGE",
	L"WM_TCARD",
	L"WM_HELP",
	L"WM_USERCHANGED",
	L"WM_NOTIFYFORMAT",
	L"UNKNOWN (86)",
	L"UNKNOWN (87)",
	L"UNKNOWN (88)",
	L"UNKNOWN (89)",
	L"UNKNOWN (90)",
	L"UNKNOWN (91)",
	L"UNKNOWN (92)",
	L"UNKNOWN (93)",
	L"UNKNOWN (94)",
	L"UNKNOWN (95)",
	L"UNKNOWN (96)",
	L"UNKNOWN (97)",
	L"UNKNOWN (98)",
	L"UNKNOWN (99)",
	L"UNKNOWN (100)",
	L"UNKNOWN (101)",
	L"UNKNOWN (102)",
	L"UNKNOWN (103)",
	L"UNKNOWN (104)",
	L"UNKNOWN (105)",
	L"UNKNOWN (106)",
	L"UNKNOWN (107)",
	L"UNKNOWN (108)",
	L"UNKNOWN (109)",
	L"UNKNOWN (110)",
	L"UNKNOWN (111)",
	L"UNKNOWN (112)",
	L"UNKNOWN (113)",
	L"UNKNOWN (114)",
	L"UNKNOWN (115)",
	L"UNKNOWN (116)",
	L"UNKNOWN (117)",
	L"UNKNOWN (118)",
	L"UNKNOWN (119)",
	L"UNKNOWN (120)",
	L"UNKNOWN (121)",
	L"UNKNOWN (122)",
	L"WM_CONTEXTMENU",
	L"WM_STYLECHANGING",
	L"WM_STYLECHANGED",
	L"WM_DISPLAYCHANGE",
	L"WM_GETICON",
	L"WM_SETICON",
	L"WM_NCCREATE",
	L"WM_NCDESTROY",
	L"WM_NCCALCSIZE",
	L"WM_NCHITTEST",
	L"WM_NCPAINT",
	L"WM_NCACTIVATE",
	L"WM_GETDLGCODE",
	L"WM_SYNCPAINT",
	L"UNKNOWN (137)",
	L"UNKNOWN (138)",
	L"UNKNOWN (139)",
	L"UNKNOWN (140)",
	L"UNKNOWN (141)",
	L"UNKNOWN (142)",
	L"UNKNOWN (143)",
	L"UNKNOWN (144)",
	L"UNKNOWN (145)",
	L"UNKNOWN (146)",
	L"UNKNOWN (147)",
	L"UNKNOWN (148)",
	L"UNKNOWN (149)",
	L"UNKNOWN (150)",
	L"UNKNOWN (151)",
	L"UNKNOWN (152)",
	L"UNKNOWN (153)",
	L"UNKNOWN (154)",
	L"UNKNOWN (155)",
	L"UNKNOWN (156)",
	L"UNKNOWN (157)",
	L"UNKNOWN (158)",
	L"UNKNOWN (159)",
	L"WM_NCMOUSEMOVE",
	L"WM_NCLBUTTONDOWN",
	L"WM_NCLBUTTONUP",
	L"WM_NCLBUTTONDBLCLK",
	L"WM_NCRBUTTONDOWN",
	L"WM_NCRBUTTONUP",
	L"WM_NCRBUTTONDBLCLK",
	L"WM_NCMBUTTONDOWN",
	L"WM_NCMBUTTONUP",
	L"WM_NCMBUTTONDBLCLK",
	L"UNKNOWN (170)",
	L"UNKNOWN (171)",
	L"UNKNOWN (172)",
	L"UNKNOWN (173)",
	L"UNKNOWN (174)",
	L"UNKNOWN (175)",
	L"UNKNOWN (176)",
	L"UNKNOWN (177)",
	L"UNKNOWN (178)",
	L"UNKNOWN (179)",
	L"UNKNOWN (180)",
	L"UNKNOWN (181)",
	L"UNKNOWN (182)",
	L"UNKNOWN (183)",
	L"UNKNOWN (184)",
	L"UNKNOWN (185)",
	L"UNKNOWN (186)",
	L"UNKNOWN (187)",
	L"UNKNOWN (188)",
	L"UNKNOWN (189)",
	L"UNKNOWN (190)",
	L"UNKNOWN (191)",
	L"UNKNOWN (192)",
	L"UNKNOWN (193)",
	L"UNKNOWN (194)",
	L"UNKNOWN (195)",
	L"UNKNOWN (196)",
	L"UNKNOWN (197)",
	L"UNKNOWN (198)",
	L"UNKNOWN (199)",
	L"UNKNOWN (200)",
	L"UNKNOWN (201)",
	L"UNKNOWN (202)",
	L"UNKNOWN (203)",
	L"UNKNOWN (204)",
	L"UNKNOWN (205)",
	L"UNKNOWN (206)",
	L"UNKNOWN (207)",
	L"UNKNOWN (208)",
	L"UNKNOWN (209)",
	L"UNKNOWN (210)",
	L"UNKNOWN (211)",
	L"UNKNOWN (212)",
	L"UNKNOWN (213)",
	L"UNKNOWN (214)",
	L"UNKNOWN (215)",
	L"UNKNOWN (216)",
	L"UNKNOWN (217)",
	L"UNKNOWN (218)",
	L"UNKNOWN (219)",
	L"UNKNOWN (220)",
	L"UNKNOWN (221)",
	L"UNKNOWN (222)",
	L"UNKNOWN (223)",
	L"UNKNOWN (224)",
	L"UNKNOWN (225)",
	L"UNKNOWN (226)",
	L"UNKNOWN (227)",
	L"UNKNOWN (228)",
	L"UNKNOWN (229)",
	L"UNKNOWN (230)",
	L"UNKNOWN (231)",
	L"UNKNOWN (232)",
	L"UNKNOWN (233)",
	L"UNKNOWN (234)",
	L"UNKNOWN (235)",
	L"UNKNOWN (236)",
	L"UNKNOWN (237)",
	L"UNKNOWN (238)",
	L"UNKNOWN (239)",
	L"UNKNOWN (240)",
	L"UNKNOWN (241)",
	L"UNKNOWN (242)",
	L"UNKNOWN (243)",
	L"UNKNOWN (244)",
	L"UNKNOWN (245)",
	L"UNKNOWN (246)",
	L"UNKNOWN (247)",
	L"UNKNOWN (248)",
	L"UNKNOWN (249)",
	L"UNKNOWN (250)",
	L"UNKNOWN (251)",
	L"UNKNOWN (252)",
	L"UNKNOWN (253)",
	L"UNKNOWN (254)",
	L"UNKNOWN (255)",
	L"WM_KEYDOWN",
	L"WM_KEYUP",
	L"WM_CHAR",
	L"WM_DEADCHAR",
	L"WM_SYSKEYDOWN",
	L"WM_SYSKEYUP",
	L"WM_SYSCHAR",
	L"WM_SYSDEADCHAR",
	L"WM_KEYLAST",
	L"UNKNOWN (265)",
	L"UNKNOWN (266)",
	L"UNKNOWN (267)",
	L"UNKNOWN (268)",
	L"UNKNOWN (269)",
	L"UNKNOWN (270)",
	L"UNKNOWN (271)",
	L"WM_INITDIALOG",
	L"WM_COMMAND",
	L"WM_SYSCOMMAND",
	L"WM_TIMER",
	L"WM_HSCROLL",
	L"WM_VSCROLL",
	L"WM_INITMENU",
	L"WM_INITMENUPOPUP",
	L"UNKNOWN (280)",
	L"UNKNOWN (281)",
	L"UNKNOWN (282)",
	L"UNKNOWN (283)",
	L"UNKNOWN (284)",
	L"UNKNOWN (285)",
	L"UNKNOWN (286)",
	L"WM_MENUSELECT",
	L"WM_MENUCHAR",
	L"WM_ENTERIDLE",
	L"WM_MENURBUTTONUP",
	L"WM_MENUDRAG",
	L"WM_MENUGETOBJECT",
	L"WM_UNINITMENUPOPUP",
	L"WM_MENUCOMMAND",
	L"UNKNOWN (295)",
	L"UNKNOWN (296)",
	L"UNKNOWN (297)",
	L"UNKNOWN (298)",
	L"UNKNOWN (299)",
	L"UNKNOWN (300)",
	L"UNKNOWN (301)",
	L"UNKNOWN (302)",
	L"UNKNOWN (303)",
	L"UNKNOWN (304)",
	L"UNKNOWN (305)",
	L"WM_CTLCOLORMSGBOX",
	L"WM_CTLCOLOREDIT",
	L"WM_CTLCOLORLISTBOX",
	L"WM_CTLCOLORBTN",
	L"WM_CTLCOLORDLG",
	L"WM_CTLCOLORSCROLLBAR",
	L"WM_CTLCOLORSTATIC",
	L"UNKNOWN (313)",
	L"UNKNOWN (314)",
	L"UNKNOWN (315)",
	L"UNKNOWN (316)",
	L"UNKNOWN (317)",
	L"UNKNOWN (318)",
	L"UNKNOWN (319)",
	L"UNKNOWN (320)",
	L"UNKNOWN (321)",
	L"UNKNOWN (322)",
	L"UNKNOWN (323)",
	L"UNKNOWN (324)",
	L"UNKNOWN (325)",
	L"UNKNOWN (326)",
	L"UNKNOWN (327)",
	L"UNKNOWN (328)",
	L"UNKNOWN (329)",
	L"UNKNOWN (330)",
	L"UNKNOWN (331)",
	L"UNKNOWN (332)",
	L"UNKNOWN (333)",
	L"UNKNOWN (334)",
	L"UNKNOWN (335)",
	L"UNKNOWN (336)",
	L"UNKNOWN (337)",
	L"UNKNOWN (338)",
	L"UNKNOWN (339)",
	L"UNKNOWN (340)",
	L"UNKNOWN (341)",
	L"UNKNOWN (342)",
	L"UNKNOWN (343)",
	L"UNKNOWN (344)",
	L"UNKNOWN (345)",
	L"UNKNOWN (346)",
	L"UNKNOWN (347)",
	L"UNKNOWN (348)",
	L"UNKNOWN (349)",
	L"UNKNOWN (350)",
	L"UNKNOWN (351)",
	L"UNKNOWN (352)",
	L"UNKNOWN (353)",
	L"UNKNOWN (354)",
	L"UNKNOWN (355)",
	L"UNKNOWN (356)",
	L"UNKNOWN (357)",
	L"UNKNOWN (358)",
	L"UNKNOWN (359)",
	L"UNKNOWN (360)",
	L"UNKNOWN (361)",
	L"UNKNOWN (362)",
	L"UNKNOWN (363)",
	L"UNKNOWN (364)",
	L"UNKNOWN (365)",
	L"UNKNOWN (366)",
	L"UNKNOWN (367)",
	L"UNKNOWN (368)",
	L"UNKNOWN (369)",
	L"UNKNOWN (370)",
	L"UNKNOWN (371)",
	L"UNKNOWN (372)",
	L"UNKNOWN (373)",
	L"UNKNOWN (374)",
	L"UNKNOWN (375)",
	L"UNKNOWN (376)",
	L"UNKNOWN (377)",
	L"UNKNOWN (378)",
	L"UNKNOWN (379)",
	L"UNKNOWN (380)",
	L"UNKNOWN (381)",
	L"UNKNOWN (382)",
	L"UNKNOWN (383)",
	L"UNKNOWN (384)",
	L"UNKNOWN (385)",
	L"UNKNOWN (386)",
	L"UNKNOWN (387)",
	L"UNKNOWN (388)",
	L"UNKNOWN (389)",
	L"UNKNOWN (390)",
	L"UNKNOWN (391)",
	L"UNKNOWN (392)",
	L"UNKNOWN (393)",
	L"UNKNOWN (394)",
	L"UNKNOWN (395)",
	L"UNKNOWN (396)",
	L"UNKNOWN (397)",
	L"UNKNOWN (398)",
	L"UNKNOWN (399)",
	L"UNKNOWN (400)",
	L"UNKNOWN (401)",
	L"UNKNOWN (402)",
	L"UNKNOWN (403)",
	L"UNKNOWN (404)",
	L"UNKNOWN (405)",
	L"UNKNOWN (406)",
	L"UNKNOWN (407)",
	L"UNKNOWN (408)",
	L"UNKNOWN (409)",
	L"UNKNOWN (410)",
	L"UNKNOWN (411)",
	L"UNKNOWN (412)",
	L"UNKNOWN (413)",
	L"UNKNOWN (414)",
	L"UNKNOWN (415)",
	L"UNKNOWN (416)",
	L"UNKNOWN (417)",
	L"UNKNOWN (418)",
	L"UNKNOWN (419)",
	L"UNKNOWN (420)",
	L"UNKNOWN (421)",
	L"UNKNOWN (422)",
	L"UNKNOWN (423)",
	L"UNKNOWN (424)",
	L"UNKNOWN (425)",
	L"UNKNOWN (426)",
	L"UNKNOWN (427)",
	L"UNKNOWN (428)",
	L"UNKNOWN (429)",
	L"UNKNOWN (430)",
	L"UNKNOWN (431)",
	L"UNKNOWN (432)",
	L"UNKNOWN (433)",
	L"UNKNOWN (434)",
	L"UNKNOWN (435)",
	L"UNKNOWN (436)",
	L"UNKNOWN (437)",
	L"UNKNOWN (438)",
	L"UNKNOWN (439)",
	L"UNKNOWN (440)",
	L"UNKNOWN (441)",
	L"UNKNOWN (442)",
	L"UNKNOWN (443)",
	L"UNKNOWN (444)",
	L"UNKNOWN (445)",
	L"UNKNOWN (446)",
	L"UNKNOWN (447)",
	L"UNKNOWN (448)",
	L"UNKNOWN (449)",
	L"UNKNOWN (450)",
	L"UNKNOWN (451)",
	L"UNKNOWN (452)",
	L"UNKNOWN (453)",
	L"UNKNOWN (454)",
	L"UNKNOWN (455)",
	L"UNKNOWN (456)",
	L"UNKNOWN (457)",
	L"UNKNOWN (458)",
	L"UNKNOWN (459)",
	L"UNKNOWN (460)",
	L"UNKNOWN (461)",
	L"UNKNOWN (462)",
	L"UNKNOWN (463)",
	L"UNKNOWN (464)",
	L"UNKNOWN (465)",
	L"UNKNOWN (466)",
	L"UNKNOWN (467)",
	L"UNKNOWN (468)",
	L"UNKNOWN (469)",
	L"UNKNOWN (470)",
	L"UNKNOWN (471)",
	L"UNKNOWN (472)",
	L"UNKNOWN (473)",
	L"UNKNOWN (474)",
	L"UNKNOWN (475)",
	L"UNKNOWN (476)",
	L"UNKNOWN (477)",
	L"UNKNOWN (478)",
	L"UNKNOWN (479)",
	L"UNKNOWN (480)",
	L"UNKNOWN (481)",
	L"UNKNOWN (482)",
	L"UNKNOWN (483)",
	L"UNKNOWN (484)",
	L"UNKNOWN (485)",
	L"UNKNOWN (486)",
	L"UNKNOWN (487)",
	L"UNKNOWN (488)",
	L"UNKNOWN (489)",
	L"UNKNOWN (490)",
	L"UNKNOWN (491)",
	L"UNKNOWN (492)",
	L"UNKNOWN (493)",
	L"UNKNOWN (494)",
	L"UNKNOWN (495)",
	L"UNKNOWN (496)",
	L"UNKNOWN (497)",
	L"UNKNOWN (498)",
	L"UNKNOWN (499)",
	L"UNKNOWN (500)",
	L"UNKNOWN (501)",
	L"UNKNOWN (502)",
	L"UNKNOWN (503)",
	L"UNKNOWN (504)",
	L"UNKNOWN (505)",
	L"UNKNOWN (506)",
	L"UNKNOWN (507)",
	L"UNKNOWN (508)",
	L"UNKNOWN (509)",
	L"UNKNOWN (510)",
	L"UNKNOWN (511)",
	L"WM_MOUSEMOVE",
	L"WM_LBUTTONDOWN",
	L"WM_LBUTTONUP",
	L"WM_LBUTTONDBLCLK",
	L"WM_RBUTTONDOWN",
	L"WM_RBUTTONUP",
	L"WM_RBUTTONDBLCLK",
	L"WM_MBUTTONDOWN",
	L"WM_MBUTTONUP",
	L"WM_MOUSELAST",
	L"WM_MOUSELAST",
	L"UNKNOWN (523)",
	L"UNKNOWN (524)",
	L"UNKNOWN (525)",
	L"UNKNOWN (526)",
	L"UNKNOWN (527)",
	L"WM_PARENTNOTIFY",
	L"WM_ENTERMENULOOP",
	L"WM_EXITMENULOOP",
	L"WM_NEXTMENU",
	L"WM_SIZING",
	L"WM_CAPTURECHANGED",
	L"WM_MOVING",
	L"UNKNOWN (535)",
	L"WM_POWERBROADCAST",
	L"WM_DEVICECHANGE",
	L"UNKNOWN (538)",
	L"UNKNOWN (539)",
	L"UNKNOWN (540)",
	L"UNKNOWN (541)",
	L"UNKNOWN (542)",
	L"UNKNOWN (543)",
	L"WM_MDICREATE",
	L"WM_MDIDESTROY",
	L"WM_MDIACTIVATE",
	L"WM_MDIRESTORE",
	L"WM_MDINEXT",
	L"WM_MDIMAXIMIZE",
	L"WM_MDITILE",
	L"WM_MDICASCADE",
	L"WM_MDIICONARRANGE",
	L"WM_MDIGETACTIVE",
	L"UNKNOWN (554)",
	L"UNKNOWN (555)",
	L"UNKNOWN (556)",
	L"UNKNOWN (557)",
	L"UNKNOWN (558)",
	L"UNKNOWN (559)",
	L"WM_MDISETMENU",
	L"WM_ENTERSIZEMOVE",
	L"WM_EXITSIZEMOVE",
	L"WM_DROPFILES",
	L"WM_MDIREFRESHMENU",
	L"UNKNOWN (565)",
	L"UNKNOWN (566)",
	L"UNKNOWN (567)",
	L"UNKNOWN (568)",
	L"UNKNOWN (569)",
	L"UNKNOWN (570)",
	L"UNKNOWN (571)",
	L"UNKNOWN (572)",
	L"UNKNOWN (573)",
	L"UNKNOWN (574)",
	L"UNKNOWN (575)",
	L"UNKNOWN (576)",
	L"UNKNOWN (577)",
	L"UNKNOWN (578)",
	L"UNKNOWN (579)",
	L"UNKNOWN (580)",
	L"UNKNOWN (581)",
	L"UNKNOWN (582)",
	L"UNKNOWN (583)",
	L"UNKNOWN (584)",
	L"UNKNOWN (585)",
	L"UNKNOWN (586)",
	L"UNKNOWN (587)",
	L"UNKNOWN (588)",
	L"UNKNOWN (589)",
	L"UNKNOWN (590)",
	L"UNKNOWN (591)",
	L"UNKNOWN (592)",
	L"UNKNOWN (593)",
	L"UNKNOWN (594)",
	L"UNKNOWN (595)",
	L"UNKNOWN (596)",
	L"UNKNOWN (597)",
	L"UNKNOWN (598)",
	L"UNKNOWN (599)",
	L"UNKNOWN (600)",
	L"UNKNOWN (601)",
	L"UNKNOWN (602)",
	L"UNKNOWN (603)",
	L"UNKNOWN (604)",
	L"UNKNOWN (605)",
	L"UNKNOWN (606)",
	L"UNKNOWN (607)",
	L"UNKNOWN (608)",
	L"UNKNOWN (609)",
	L"UNKNOWN (610)",
	L"UNKNOWN (611)",
	L"UNKNOWN (612)",
	L"UNKNOWN (613)",
	L"UNKNOWN (614)",
	L"UNKNOWN (615)",
	L"UNKNOWN (616)",
	L"UNKNOWN (617)",
	L"UNKNOWN (618)",
	L"UNKNOWN (619)",
	L"UNKNOWN (620)",
	L"UNKNOWN (621)",
	L"UNKNOWN (622)",
	L"UNKNOWN (623)",
	L"UNKNOWN (624)",
	L"UNKNOWN (625)",
	L"UNKNOWN (626)",
	L"UNKNOWN (627)",
	L"UNKNOWN (628)",
	L"UNKNOWN (629)",
	L"UNKNOWN (630)",
	L"UNKNOWN (631)",
	L"UNKNOWN (632)",
	L"UNKNOWN (633)",
	L"UNKNOWN (634)",
	L"UNKNOWN (635)",
	L"UNKNOWN (636)",
	L"UNKNOWN (637)",
	L"UNKNOWN (638)",
	L"UNKNOWN (639)",
	L"UNKNOWN (640)",
	L"UNKNOWN (641)",
	L"UNKNOWN (642)",
	L"UNKNOWN (643)",
	L"UNKNOWN (644)",
	L"UNKNOWN (645)",
	L"UNKNOWN (646)",
	L"UNKNOWN (647)",
	L"UNKNOWN (648)",
	L"UNKNOWN (649)",
	L"UNKNOWN (650)",
	L"UNKNOWN (651)",
	L"UNKNOWN (652)",
	L"UNKNOWN (653)",
	L"UNKNOWN (654)",
	L"UNKNOWN (655)",
	L"UNKNOWN (656)",
	L"UNKNOWN (657)",
	L"UNKNOWN (658)",
	L"UNKNOWN (659)",
	L"UNKNOWN (660)",
	L"UNKNOWN (661)",
	L"UNKNOWN (662)",
	L"UNKNOWN (663)",
	L"UNKNOWN (664)",
	L"UNKNOWN (665)",
	L"UNKNOWN (666)",
	L"UNKNOWN (667)",
	L"UNKNOWN (668)",
	L"UNKNOWN (669)",
	L"UNKNOWN (670)",
	L"UNKNOWN (671)",
	L"UNKNOWN (672)",
	L"WM_MOUSEHOVER",
	L"UNKNOWN (674)",
	L"WM_MOUSELEAVE",
	L"UNKNOWN (676)",
	L"UNKNOWN (677)",
	L"UNKNOWN (678)",
	L"UNKNOWN (679)",
	L"UNKNOWN (680)",
	L"UNKNOWN (681)",
	L"UNKNOWN (682)",
	L"UNKNOWN (683)",
	L"UNKNOWN (684)",
	L"UNKNOWN (685)",
	L"UNKNOWN (686)",
	L"UNKNOWN (687)",
	L"UNKNOWN (688)",
	L"UNKNOWN (689)",
	L"UNKNOWN (690)",
	L"UNKNOWN (691)",
	L"UNKNOWN (692)",
	L"UNKNOWN (693)",
	L"UNKNOWN (694)",
	L"UNKNOWN (695)",
	L"UNKNOWN (696)",
	L"UNKNOWN (697)",
	L"UNKNOWN (698)",
	L"UNKNOWN (699)",
	L"UNKNOWN (700)",
	L"UNKNOWN (701)",
	L"UNKNOWN (702)",
	L"UNKNOWN (703)",
	L"UNKNOWN (704)",
	L"UNKNOWN (705)",
	L"UNKNOWN (706)",
	L"UNKNOWN (707)",
	L"UNKNOWN (708)",
	L"UNKNOWN (709)",
	L"UNKNOWN (710)",
	L"UNKNOWN (711)",
	L"UNKNOWN (712)",
	L"UNKNOWN (713)",
	L"UNKNOWN (714)",
	L"UNKNOWN (715)",
	L"UNKNOWN (716)",
	L"UNKNOWN (717)",
	L"UNKNOWN (718)",
	L"UNKNOWN (719)",
	L"UNKNOWN (720)",
	L"UNKNOWN (721)",
	L"UNKNOWN (722)",
	L"UNKNOWN (723)",
	L"UNKNOWN (724)",
	L"UNKNOWN (725)",
	L"UNKNOWN (726)",
	L"UNKNOWN (727)",
	L"UNKNOWN (728)",
	L"UNKNOWN (729)",
	L"UNKNOWN (730)",
	L"UNKNOWN (731)",
	L"UNKNOWN (732)",
	L"UNKNOWN (733)",
	L"UNKNOWN (734)",
	L"UNKNOWN (735)",
	L"UNKNOWN (736)",
	L"UNKNOWN (737)",
	L"UNKNOWN (738)",
	L"UNKNOWN (739)",
	L"UNKNOWN (740)",
	L"UNKNOWN (741)",
	L"UNKNOWN (742)",
	L"UNKNOWN (743)",
	L"UNKNOWN (744)",
	L"UNKNOWN (745)",
	L"UNKNOWN (746)",
	L"UNKNOWN (747)",
	L"UNKNOWN (748)",
	L"UNKNOWN (749)",
	L"UNKNOWN (750)",
	L"UNKNOWN (751)",
	L"UNKNOWN (752)",
	L"UNKNOWN (753)",
	L"UNKNOWN (754)",
	L"UNKNOWN (755)",
	L"UNKNOWN (756)",
	L"UNKNOWN (757)",
	L"UNKNOWN (758)",
	L"UNKNOWN (759)",
	L"UNKNOWN (760)",
	L"UNKNOWN (761)",
	L"UNKNOWN (762)",
	L"UNKNOWN (763)",
	L"UNKNOWN (764)",
	L"UNKNOWN (765)",
	L"UNKNOWN (766)",
	L"UNKNOWN (767)",
	L"WM_CUT",
	L"WM_COPY",
	L"WM_PASTE",
	L"WM_CLEAR",
	L"WM_UNDO",
	L"WM_RENDERFORMAT",
	L"WM_RENDERALLFORMATS",
	L"WM_DESTROYCLIPBOARD",
	L"WM_DRAWCLIPBOARD",
	L"WM_PAINTCLIPBOARD",
	L"WM_VSCROLLCLIPBOARD",
	L"WM_SIZECLIPBOARD",
	L"WM_ASKCBFORMATNAME",
	L"WM_CHANGECBCHAIN",
	L"WM_HSCROLLCLIPBOARD",
	L"WM_QUERYNEWPALETTE",
	L"WM_PALETTEISCHANGING",
	L"WM_PALETTECHANGED",
	L"WM_HOTKEY",
	L"UNKNOWN (787)",
	L"UNKNOWN (788)",
	L"UNKNOWN (789)",
	L"UNKNOWN (790)",
	L"WM_PRINT",
	L"WM_PRINTCLIENT",
	L"UNKNOWN (793)",
	L"UNKNOWN (794)",
	L"UNKNOWN (795)",
	L"UNKNOWN (796)",
	L"UNKNOWN (797)",
	L"UNKNOWN (798)",
	L"UNKNOWN (799)",
	L"UNKNOWN (800)",
	L"UNKNOWN (801)",
	L"UNKNOWN (802)",
	L"UNKNOWN (803)",
	L"UNKNOWN (804)",
	L"UNKNOWN (805)",
	L"UNKNOWN (806)",
	L"UNKNOWN (807)",
	L"UNKNOWN (808)",
	L"UNKNOWN (809)",
	L"UNKNOWN (810)",
	L"UNKNOWN (811)",
	L"UNKNOWN (812)",
	L"UNKNOWN (813)",
	L"UNKNOWN (814)",
	L"UNKNOWN (815)",
	L"UNKNOWN (816)",
	L"UNKNOWN (817)",
	L"UNKNOWN (818)",
	L"UNKNOWN (819)",
	L"UNKNOWN (820)",
	L"UNKNOWN (821)",
	L"UNKNOWN (822)",
	L"UNKNOWN (823)",
	L"UNKNOWN (824)",
	L"UNKNOWN (825)",
	L"UNKNOWN (826)",
	L"UNKNOWN (827)",
	L"UNKNOWN (828)",
	L"UNKNOWN (829)",
	L"UNKNOWN (830)",
	L"UNKNOWN (831)",
	L"UNKNOWN (832)",
	L"UNKNOWN (833)",
	L"UNKNOWN (834)",
	L"UNKNOWN (835)",
	L"UNKNOWN (836)",
	L"UNKNOWN (837)",
	L"UNKNOWN (838)",
	L"UNKNOWN (839)",
	L"UNKNOWN (840)",
	L"UNKNOWN (841)",
	L"UNKNOWN (842)",
	L"UNKNOWN (843)",
	L"UNKNOWN (844)",
	L"UNKNOWN (845)",
	L"UNKNOWN (846)",
	L"UNKNOWN (847)",
	L"UNKNOWN (848)",
	L"UNKNOWN (849)",
	L"UNKNOWN (850)",
	L"UNKNOWN (851)",
	L"UNKNOWN (852)",
	L"UNKNOWN (853)",
	L"UNKNOWN (854)",
	L"UNKNOWN (855)",
	L"WM_HANDHELDFIRST",
	L"UNKNOWN (857)",
	L"UNKNOWN (858)",
	L"UNKNOWN (859)",
	L"UNKNOWN (860)",
	L"UNKNOWN (861)",
	L"UNKNOWN (862)",
	L"WM_HANDHELDLAST",
	L"WM_AFXFIRST",
	L"UNKNOWN (865)",
	L"UNKNOWN (866)",
	L"UNKNOWN (867)",
	L"UNKNOWN (868)",
	L"UNKNOWN (869)",
	L"UNKNOWN (870)",
	L"UNKNOWN (871)",
	L"UNKNOWN (872)",
	L"UNKNOWN (873)",
	L"UNKNOWN (874)",
	L"UNKNOWN (875)",
	L"UNKNOWN (876)",
	L"UNKNOWN (877)",
	L"UNKNOWN (878)",
	L"UNKNOWN (879)",
	L"UNKNOWN (880)",
	L"UNKNOWN (881)",
	L"UNKNOWN (882)",
	L"UNKNOWN (883)",
	L"UNKNOWN (884)",
	L"UNKNOWN (885)",
	L"UNKNOWN (886)",
	L"UNKNOWN (887)",
	L"UNKNOWN (888)",
	L"UNKNOWN (889)",
	L"UNKNOWN (890)",
	L"UNKNOWN (891)",
	L"UNKNOWN (892)",
	L"UNKNOWN (893)",
	L"UNKNOWN (894)",
	L"WM_AFXLAST",
	L"WM_PENWINFIRST",
	L"UNKNOWN (897)",
	L"UNKNOWN (898)",
	L"UNKNOWN (899)",
	L"UNKNOWN (900)",
	L"UNKNOWN (901)",
	L"UNKNOWN (902)",
	L"UNKNOWN (903)",
	L"UNKNOWN (904)",
	L"UNKNOWN (905)",
	L"UNKNOWN (906)",
	L"UNKNOWN (907)",
	L"UNKNOWN (908)",
	L"UNKNOWN (909)",
	L"UNKNOWN (910)",
	L"WM_PENWINLAST",
	L"UNKNOWN (912)",
	L"UNKNOWN (913)",
	L"UNKNOWN (914)",
	L"UNKNOWN (915)",
	L"UNKNOWN (916)",
	L"UNKNOWN (917)",
	L"UNKNOWN (918)",
	L"UNKNOWN (919)",
	L"UNKNOWN (920)",
	L"UNKNOWN (921)",
	L"UNKNOWN (922)",
	L"UNKNOWN (923)",
	L"UNKNOWN (924)",
	L"UNKNOWN (925)",
	L"UNKNOWN (926)",
	L"UNKNOWN (927)",
	L"UNKNOWN (928)",
	L"UNKNOWN (929)",
	L"UNKNOWN (930)",
	L"UNKNOWN (931)",
	L"UNKNOWN (932)",
	L"UNKNOWN (933)",
	L"UNKNOWN (934)",
	L"UNKNOWN (935)",
	L"UNKNOWN (936)",
	L"UNKNOWN (937)",
	L"UNKNOWN (938)",
	L"UNKNOWN (939)",
	L"UNKNOWN (940)",
	L"UNKNOWN (941)",
	L"UNKNOWN (942)",
	L"UNKNOWN (943)",
	L"UNKNOWN (944)",
	L"UNKNOWN (945)",
	L"UNKNOWN (946)",
	L"UNKNOWN (947)",
	L"UNKNOWN (948)",
	L"UNKNOWN (949)",
	L"UNKNOWN (950)",
	L"UNKNOWN (951)",
	L"UNKNOWN (952)",
	L"UNKNOWN (953)",
	L"UNKNOWN (954)",
	L"UNKNOWN (955)",
	L"UNKNOWN (956)",
	L"UNKNOWN (957)",
	L"UNKNOWN (958)",
	L"UNKNOWN (959)",
	L"UNKNOWN (960)",
	L"UNKNOWN (961)",
	L"UNKNOWN (962)",
	L"UNKNOWN (963)",
	L"UNKNOWN (964)",
	L"UNKNOWN (965)",
	L"UNKNOWN (966)",
	L"UNKNOWN (967)",
	L"UNKNOWN (968)",
	L"UNKNOWN (969)",
	L"UNKNOWN (970)",
	L"UNKNOWN (971)",
	L"UNKNOWN (972)",
	L"UNKNOWN (973)",
	L"UNKNOWN (974)",
	L"UNKNOWN (975)",
	L"UNKNOWN (976)",
	L"UNKNOWN (977)",
	L"UNKNOWN (978)",
	L"UNKNOWN (979)",
	L"UNKNOWN (980)",
	L"UNKNOWN (981)",
	L"UNKNOWN (982)",
	L"UNKNOWN (983)",
	L"UNKNOWN (984)",
	L"UNKNOWN (985)",
	L"UNKNOWN (986)",
	L"UNKNOWN (987)",
	L"UNKNOWN (988)",
	L"UNKNOWN (989)",
	L"UNKNOWN (990)",
	L"UNKNOWN (991)",
	L"UNKNOWN (992)",
	L"UNKNOWN (993)",
	L"UNKNOWN (994)",
	L"UNKNOWN (995)",
	L"UNKNOWN (996)",
	L"UNKNOWN (997)",
	L"UNKNOWN (998)",
	L"UNKNOWN (999)",
	L"UNKNOWN (1000)",
	L"UNKNOWN (1001)",
	L"UNKNOWN (1002)",
	L"UNKNOWN (1003)",
	L"UNKNOWN (1004)",
	L"UNKNOWN (1005)",
	L"UNKNOWN (1006)",
	L"UNKNOWN (1007)",
	L"UNKNOWN (1008)",
	L"UNKNOWN (1009)",
	L"UNKNOWN (1010)",
	L"UNKNOWN (1011)",
	L"UNKNOWN (1012)",
	L"UNKNOWN (1013)",
	L"UNKNOWN (1014)",
	L"UNKNOWN (1015)",
	L"UNKNOWN (1016)",
	L"UNKNOWN (1017)",
	L"UNKNOWN (1018)",
	L"UNKNOWN (1019)",
	L"UNKNOWN (1020)",
	L"UNKNOWN (1021)",
	L"UNKNOWN (1022)",
	L"UNKNOWN (1023)",
	L"WM_USER"
};


//#include <fstream> 

//using namespace std;
 //wofstream fis(L"log.txt");

//QFile fis(L"log.txt");

// Taken from SDL_sysevents.c
void  Printlog(QWindow * p, UINT msg, WPARAM wParam , LPARAM lParam  ) 
{
	//wofstream fis(L"log.txt", ios::app);

	if ( msg > MAX_WMMSG ) 
	{
		//fis << msg << endl;
	} 
	else 
	{
		//fis.width(20);
		//fis<< p->GetWndClassName()  <<L"  "<<hex << p->GetHandle()  << L" " << wmtab[msg]<<endl;
	}
	 
 
} 


}//ssh





#endif